# Contributor: Rane Hebden <rane+alpine@junkyard.systems>
# Maintainer: Rane Hebden <rane+alpine@junkyard.systems>
pkgname=e16
pkgver=1.0.30
pkgrel=0
pkgdesc="Enlightenment DR16 is a compositing window manager for the X Window System"
url="https://www.enlightenment.org/e16"
arch="all"
license="BSD-2-Clause"
depends="desktop-file-utils python3"
makedepends="
	alsa-lib-dev
	audiofile-dev
	libsndfile-dev
	libxft-dev
	gettext-dev
	libxext-dev
	xbitmaps
	dbus-dev
	pulseaudio-dev
	libice-dev
	libxxf86vm-dev
	libxdamage-dev
	libxfixes-dev
	xorgproto
	glib-dev
	libsm-dev
	libx11-dev
	libxcomposite-dev
	libxcursor-dev
	libxinerama-dev
	libxpresent-dev
	libxrandr-dev
	libxres-dev
	pango-dev
	freetype-dev
	imlib2-dev
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/enlightenment/e16/$pkgver/e16-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-sound \
		--enable-sound-alsa \
		--enable-sound-pulse
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
22ffeb0ee3be2e079c20862bc150207a4aa3da5ccad31e49a05d64142db5f347871bb988d03b8a7749019d0a5da64cdad2e63e23dba4abbb50125df15e477421  e16-1.0.30.tar.gz
"
